Skip to content

Conversation

@AliSoftware
Copy link
Contributor

@AliSoftware AliSoftware commented Nov 28, 2025

Why

Last beta lane failed on ios_lint_localizations because a string was removed from the codebase in the code-frozen release/* branch in #25022.

This caused the linter to complain about this for all locales:

`reader.blog.search.loading.title` was unexpected, as it is not present in the base locale.

How

  • Added fail_on_strings_not_in_base_language: false parameter to ios_lint_translations
  • Run the download_localized_strings lane, to ensure we download the latest translations from GlotPress, especially to get the changes on postTags.addTag, postTags.searchOrAdd.placeholder and postTags.selectionEmpty that apparently had a placeholder added in their English copy since initially introduced (which is quite dangerous as it can lead to crashes if not all locales are translated with the new copy in time, which is the main reason for the localization linting to be in place) and were otherwise (rightfully, this time) generating linter errors.

Testing instructions

Run bundle exec fastlane lint_localizations from this branch and validate it does not error anymore about keys missing in the base locale.

@dangermattic
Copy link
Collaborator

dangermattic commented Nov 28, 2025

2 Warnings
⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.
⚠️ This PR is assigned to the milestone 26.5 ❄️. The due date for this milestone has already passed.
Please assign it to a milestone with a later deadline or check whether the release for this milestone has already been finished.

Generated by 🚫 Danger

@AliSoftware AliSoftware added the Tooling Build, Release, and Validation Tools label Nov 28, 2025
@AliSoftware AliSoftware added this to the 26.5 ❄️ milestone Nov 28, 2025
@AliSoftware AliSoftware self-assigned this Nov 28, 2025
@AliSoftware AliSoftware changed the title Don't fail lint on strings not in base language [Tooling] Don't fail lint on strings not in base language Nov 28, 2025
@sonarqubecloud
Copy link

Copy link
Contributor

@oguzkocer oguzkocer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as described :shipit:

@AliSoftware AliSoftware merged commit b807614 into release/26.5 Nov 28, 2025
24 of 32 checks passed
@AliSoftware AliSoftware deleted the lenient-l10n-linting branch November 28, 2025 14:01
@wpmobilebot
Copy link
Contributor

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number29992
VersionPR #25030
Bundle IDorg.wordpress.alpha
Commit878d877
Installation URL10fuk8eer9be8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Contributor

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number29992
VersionPR #25030
Bundle IDcom.jetpack.alpha
Commit878d877
Installation URL2t2rjijl48el8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tooling Build, Release, and Validation Tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants